package com.lanling.educenter.service;

import com.lanling.educenter.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanling.educenter.entity.vo.AdminVo;
import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 胡振华
 * @since 2021-02-13
 */
public interface AdminService extends IService<Admin> {

    Admin login(Admin admin);

    Admin info(HttpServletRequest request);

    Admin updateProfile(Admin admin);

    String updateNickname(Admin admin);

    Admin updatePassword(AdminVo admin);
}
